package com.rc.saas.tenant.mapper.enterprise;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.enterprise.EnterpriseMember;
import com.rc.saas.tenant.model.enterprise.EnterpriseMemberExample;
import com.rc.saas.tenant.search.enterprise.EnterpriseMemberSearch;
import com.rc.saas.tenant.vo.enterprise.EnterpriseMemberPrintVo;
import com.rc.saas.tenant.vo.enterprise.EnterpriseMemberResult;

import java.util.List;

public interface EnterpriseMemberMapper extends BaseMapper<Long, EnterpriseMember, EnterpriseMemberExample> {
    Long insertReturnId(EnterpriseMember enterpriseMember);

    List<EnterpriseMemberResult> searchByCondition(EnterpriseMemberSearch search);

    List<EnterpriseMemberPrintVo> exportEnterpriseMember(EnterpriseMemberSearch enterpriseMemberSearch);

    EnterpriseMember selectMemberByMemberId(Long memberId);
}
